package com.cn.demo4.service;

import com.cn.demo4.model.UserModel;

import java.util.List;

public interface IUserService {
    String add(UserModel userModel);

    String login(UserModel userModel);

    List<UserModel> findAll(UserModel userModel);

    String del();

    int del(Integer id);

    UserModel findById(Integer id);

    String edit(UserModel userModel);

    String editPassword(UserModel userModel);

    int getCount(UserModel userModel);

    UserModel findByPhone(String phone);
}
